package j01;

public class J01_FoodNara {

	public static void main(String[] args) {
		String title = "[음식나라]";  //영수증 제목
		String  hr = "-----------------------------";
		
		int so,chi,tottax,addtax,tot,money,change;
		so = 3000*2; chi=12000; tottax = 16200; addtax =1800;
		tot = so+chi; money = 50000; change = money-tot;
		
		
		System.out.println(title);
		System.out.println(hr);
		System.out.println("소주\t2\t\t"+ so);
		System.out.println("너나치킨\t1\t\t"+ chi);
		System.out.println(hr);
		System.out.println("과세합계\t\t\t"+tottax);
		System.out.println("부가세\t\t\t"+addtax);
		System.out.println(hr);
		System.out.println("총합계\t\t\t"+tot);
		System.out.println("받은금액\t\t\t"+money);
		System.out.println("잔돈\t\t\t"+change);
		System.out.println(hr);
		System.out.println("2014. 07. 07 14:35:24");
	}

}
